package cn.face.sdk;

public class FaceNisLiveness
{
  static FaceNisLiveness nirLive = null;

  public FaceNisLiveness() {
    FaceCommon.loadLibrarys();
  }

  public static FaceNisLiveness getInstance()
  {
    if (nirLive == null) {
      nirLive = new FaceNisLiveness();
    }
    return nirLive;
  }

  public static native int cwCreateNirLivenessHandle(String paramString1, String paramString2, String paramString3, float paramFloat, int paramInt1, int paramInt2, String paramString4);

  public static native int cwReleaseNirLivenessHandle(int paramInt);

  public static native int cwFaceNirLivenessDet(int paramInt, FaceNisLiveParam paramFaceNisLiveParam, byte[] paramArrayOfByte1, float[] paramArrayOfFloat1, float[] paramArrayOfFloat2, float[] paramArrayOfFloat3, float[] paramArrayOfFloat4, byte[] paramArrayOfByte2, float[] paramArrayOfFloat5, float[] paramArrayOfFloat6, float[] paramArrayOfFloat7, float[] paramArrayOfFloat8, FaceNisLiveResInfo[] paramArrayOfFaceNisLiveResInfo);
}